import React, { Component } from 'react';
import { connect } from 'dva';
import { Layout } from 'antd';
// 引入侧边栏
import styles from '../index.less';

// 登出组件
import Logout from '../../pages/logout/view';

const { Header } = Layout;
@connect((state) =>
({
})
)
class Head extends Component {

  render() {
    return (
      <div>
        <Header className={styles.header}>
          <div className={styles.logo}>
            <span style={{ paddingLeft: 60 }}>石门水务项目综合管理系统</span>
          </div>
          <div className={styles.logoBg}></div>
          <div className={styles.logout}>
            <Logout />
          </div>
        </Header>
      </div>
    );
  }
}

export default Head;
